from collections import OrderedDict
from random import randint
dogs = OrderedDict()

dogs['name'] = '旺财'
dogs['type'] = '纯种'
dogs['age'] = '1'
for k,v in dogs.items():
    print(k,v)

class Die():
    def __init__(self):
        self.sides = 6
    def roll_die(self):
        n = randint(1,self.sides)
        return n
go = Die()
# 摇10次
for i in range(10):
    print(go.roll_die())
